package com.alibaba.citrus.ots.sales.plan.functions.salesplan.audit;

import com.alibaba.citrus.ots.common.util.SpringContextUtil;
import com.alibaba.citrus.ots.sales.plan.repository.SalesPlanRepository;

/**
 * @author yuhailin
 * @description:
 * @date 2021-09-06 19:02
 */
public class SalesplanAuditFactory {
    private static SalesPlanRepository salesPlanRepository;
    static {
        salesPlanRepository = SpringContextUtil.getBean(SalesPlanRepository.class);
    }

/*    public static SalesPlanEntity load(String plandId) {
        SalesPlanSDO sdo = salesPlanRepository.load(plandId);
        return SalesPlanEntity.of(sdo);
    }*/
}
